﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FCollectOtherForm.ascx.cs" Inherits="SalesManagement.Controls.List.FCollectOtherForm" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<ext:Window ID="winDetails" runat="server" Title="Phương thức chi khác" Icon="PageForward"
    Width="500" Height="250" Modal="true" Hidden="true" Layout="FormLayout" Padding="5">
    <Items>
        <ext:FormPanel ID="FormPanel1" runat="server" BodyBorder="false"
            MonitorPoll="500" MonitorValid="true" Padding="5" Width="600" Height="250" ButtonAlign="Right">
         <Items>
                <ext:CompositeField ID="CompositeField1" 
                        runat="server"
                        AnchorHorizontal="-20"
                        MsgTarget="Side"
                        FieldLabel="Mã phương thức (*)">
                <Items>
                <ext:TextField ID="txtID" runat="server" AllowBlank="false" AnchorHorizontal="50%" />
                <ext:Label ID="text" runat="server" Text="Số thứ tự:" />
                <ext:TextField ID="txtNumber" runat="server" AllowBlank="false" AnchorHorizontal="50%" />
                </Items>
                </ext:CompositeField>
                <ext:TextField ID="txtName" runat="server" FieldLabel="Tên phương thức (*)" AllowBlank="false" AnchorHorizontal="70%" />
                        
                
                <ext:TextArea ID="txtGhichu" runat="server" FieldLabel="Ghi chú" AnchorHorizontal="70%"/>
         </Items>
        </ext:FormPanel>
    </Items>
    <Buttons>
        
        <ext:Button ID="btnSave" runat="server" Text="Save" Icon="Disk">
            <DirectEvents>
            <Click OnEvent="btnSave_Click" />
            </DirectEvents>
        </ext:Button>
        <ext:Button ID="btnCancel" runat="server" Text="Cancel" Icon="Cancel">
            <Listeners>
                <Click Handler="#{winDetails}.hide();" />
            </Listeners>
        </ext:Button>
        
    </Buttons>
</ext:Window>